[Version]
Signature   = "$WINDOWS NT$"
Class       = SoftwareComponent
ClassGuid   = {5c4c3332-344d-483c-8739-259e934c9cc8}
Provider    = %ProviderName%
DriverVer = 04/24/2022,1.1.0.0
CatalogFile = SenaryAPO.cat
PnpLockDown = 1

[Manufacturer]
%MfgName% = ApoComponents,NTamd64

[ApoComponents.NTamd64]
%Apo.ComponentDesc% = ApoComponent_Install,SWC\VEN_14F1&AID_APO1

[ApoComponent_Install]
CopyFiles = Apo_CopyFiles
AddReg    = Apo_AddReg

[Apo_CopyFiles]
SenaryAPO.dll
COPYING

[Apo_AddReg]
; HKCR,CLSID\%SENARY_FX_MODE_CLSID%,,,%MFX_FriendlyName%
; HKCR,CLSID\%SENARY_FX_MODE_CLSID%\InProcServer32,,0x00020000,%13%\SenaryAPO.dll
; HKCR,CLSID\%SENARY_FX_MODE_CLSID%\InProcServer32,ThreadingModel,,"Both"

; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "FriendlyName", ,%MFX_FriendlyName%
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "Copyright", ,%Copyright%
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MajorVersion", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MinorVersion", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "Flags", 0x00010001, %APO_FLAG_DEFAULT%
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MinInputConnections", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MaxInputConnections", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MinOutputConnections", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MaxOutputConnections", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "MaxInstances", 0x00010001, 0xffffffff
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "NumAPOInterfaces", 0x00010001, 1
; HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_MODE_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

HKCR,CLSID\%SENARY_FX_STREAM_CLSID%,,,%SFX_FriendlyName%
HKCR,CLSID\%SENARY_FX_STREAM_CLSID%\InProcServer32,,0x00020000,%13%\SenaryAPO.dll
HKCR,CLSID\%SENARY_FX_STREAM_CLSID%\InProcServer32,ThreadingModel,,"Both"

HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "FriendlyName", ,%SFX_FriendlyName%
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "Copyright", ,%Copyright%
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MajorVersion", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MinorVersion", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "Flags", 0x00010001, %APO_FLAG_DEFAULT%
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MinInputConnections", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MaxInputConnections", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MinOutputConnections", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MaxOutputConnections", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "MaxInstances", 0x00010001, 0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "NumAPOInterfaces", 0x00010001, 1
HKCR,AudioEngine\AudioProcessingObjects\%SENARY_FX_STREAM_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

[ApoComponent_Install.HW]
AddReg = FriendlyName_AddReg

[FriendlyName_AddReg]
HKR,,FriendlyName,,%Apo.ComponentDesc%

[ApoComponent_Install.Services]
AddService=,2    ; no function driver, install a null driver.

[SourceDisksNames]
1 = Disk

[SourceDisksFiles]
SenaryAPO.dll  = 1
COPYING = 1

[DestinationDirs]
Apo_CopyFiles = 13 ; 13=Package's DriverStore directory

[SignatureAttributes]
SenaryAPO.dll  = SignatureAttributes.PETrust

[SignatureAttributes.PETrust]
PETrust = true

[Strings]
MfgName           = "SenaryAPO"
ProviderName      = "Senary Technology Co.,Ltd"
Apo.ComponentDesc = "Senary Audio Effects"

CAPXSAMPLEAPOMFX_PROPERTYSTORE_CONTEXT = "{5DB5B4C8-6C37-450E-93F5-1E275AFDF87F}"

PKEY_Endpoint_Enable_Senary_MFX = "{A44531EF-5377-4944-AE15-53789A9629C7},3"
PKEY_Endpoint_Key_MFX			= "{8F5CCED8-2EE6-4E08-A7B7-6ADBD7E1AE79},5"
SENARY_FX_MODE_CLSID			= "{06687E71-F043-403A-BF49-CB591BA6E103}"
SENARY_FX_STREAM_CLSID			= "{CB62C1B6-1D5C-4A06-9BA4-0FF8E46C392C}"

APO_FLAG_DEFAULT  = 0x0000000e

MFX_FriendlyName  = "Senary APO (mode	 effect)"
SFX_FriendlyName  = "Senary APO (stream	 effect)"
Copyright         = "Senary Technology Co.,Ltd"
